package com.tyk.bookstore.back.message.model.constant;


/**
 * @author tyk
 * @description 服务公告参数校验规则
 */
public class ServiceNoticeValidateConstant {

    /**
     * 标题
     */
    public static final int TITLE_MIN_LENGTH = 1;
    public static final int TITLE_MAX_LENGTH = 2048;
    public static final String TITLE_REGEXP = ".*";

    /**
     * 内容
     */
    public static final int CONTENT_MIN_LENGTH = 1;
    public static final int CONTENT_MAX_LENGTH = 2048;
    public static final String CONTENT_REGEXP = ".*";

    /**
     * 署名
     */
    public static final int SIGNATURE_MIN_LENGTH = 1;
    public static final int SIGNATURE_MAX_LENGTH = 2048;
    public static final String SIGNATURE_REGEXP = ".*";

}
